package com.ruoyi.insect.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 病虫害识别记录对象 pest_recognition_record
 *
 * @author ruoyi
 * @date 2023-08-07
 */
public class DiseaseIdentify extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 原图路径 */
    private String originalImage;


    /** 病虫害名称 */
    private String pestName;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOriginalImage(String originalImage)
    {
        this.originalImage = originalImage;
    }

    public String getOriginalImage()
    {
        return originalImage;
    }
    public void setPestName(String pestName)
    {
        this.pestName = pestName;
    }

    public String getPestName()
    {
        return pestName;
    }




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("originalImage", getOriginalImage())
                .append("pestName", getPestName())
                .toString();
    }
}